package com.chinasofti.service;

import com.chinasofti.dao.MeetingroomDao;
import com.chinasofti.vo.Meetingroom;

import java.util.List;

public class MeetingroomService {
    private MeetingroomDao dao = new MeetingroomDao();
    public List<Meetingroom> Meetingrooms() {
        List<Meetingroom> list =  dao.selectAllMeetings();

        return list;
    }
    public Meetingroom room(int roomid) {


        return dao.selectroom(roomid);
    }
    public void updateMeetingRoom(Meetingroom room) {
        dao.updateMeetingroom(room);
    }
}
